-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MT-Bench and PR-Bench Support #9
Conversation
Signed-off-by: Ali Maredia <[email protected]>
Signed-off-by: Ali Maredia <[email protected]>
Signed-off-by: Ali Maredia <[email protected]>
Signed-off-by: Ali Maredia <[email protected]>
Signed-off-by: Ali Maredia <[email protected]>
7b11486
to
a9c16f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial round of comments, will look more in-depth as well
with open(fn, "r", encoding="utf-8") as file: | ||
contents = yaml.safe_load(file) | ||
return contents.get("seed_examples") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we checking the YAML/schema validity at all?
Don't think we need for this PR specifically, but @bjhargrave is working on a Dev Doc to get this functionality into the instructlab-schema
package: instructlab/dev-docs#101
55e6346
to
1594a73
Compare
for _ in range(API_MAX_RETRY): | ||
try: | ||
messages = conv.to_openai_api_messages() | ||
if messages[0]["role"] == "system" and messages[1]["role"] == "user": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xukai92 do we need to change this to what's in here? xukai92/FastChat@5d44295. You have an issue for it here: #11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and included. Where are we expecting the env var to be set though?
The comments I had in my review are not meant to block the merging of this PR. They are to point out or ask questions about follow up work. |
d9289cf
to
3e21919
Compare
Signed-off-by: Dan McPherson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR seems like it's in good enough shape to start iterating on.
No description provided.